import { defineStore } from "pinia";

export const useCanSendStore = defineStore("chat", {
  state(){
    return {
      canSend: true,
    };
  },
  actions: {
    setCanSend(canSend: boolean) {
      this.canSend = canSend;
    },
  },
});